﻿using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Application.Models;
using System.Net.Http;

namespace System.Application.Services.Implementation.AlibabaCloud
{
    internal sealed class SenderProviderInvoker<TSmsSettings> : SmsSenderProvider
        where TSmsSettings : class, ISmsSettings
    {
        public SenderProviderInvoker(ILogger<SenderProviderInvoker<TSmsSettings>> logger, IOptions<TSmsSettings> settings, HttpClient httpClient) : base(logger, settings.Value?.SmsOptions?.AlibabaCloud, httpClient)
        {
        }
    }
}